package com.example.jdcompetition.Controller;

import com.example.jdcompetition.Entity.CallResultMsg;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author henrydai
 * @date 2021/6/23 20:57
 */
@Deprecated
@RestController
@Slf4j
public class AccumulateTimeController {
    @Autowired
    private UniformReponseHandler uniformReponseHandler;
    @GetMapping(value = "/accumulatetime",produces = "application/json")
    public CallResultMsg getAccumulateTime()
    {
        return uniformReponseHandler.unkownException("该方法已废弃");
    }
}
